﻿<%@ page pageEncoding="UTF-8"%>
<%@include file="/util/tag.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <%@include file="../common/head.jsp"%>
    <body>
        <%@include file="../common/top.jsp"%>
	
        <div id="main">            
            <s:form cssClass="main_form" theme="simple">
                <!--必填项-->
                <div class="text_info clearfix"><span>业务账号ID：</span></div>
                <div class="input_info"><input type="text" value="${ser.id}" readonly class="readonly" /></div>
                <div class="text_info clearfix"><span>账务账号ID：</span></div>
                <div class="input_info"><input type="text" value="${ser.account.id}" readonly class="readonly" /></div>
                <div class="text_info clearfix"><span>客户姓名：</span></div>
                <div class="input_info"><input type="text" readonly class="readonly" value="${ser.account.realName}" /></div>
                <div class="text_info clearfix"><span>身份证号码：</span></div>
                <div class="input_info"><input type="text" readonly class="readonly" value="${ser.account.idcardNo}" /></div>
                <div class="text_info clearfix"><span>服务器 IP：</span></div>
                <div class="input_info"><input type="text" value="${ser.unixHost}" readonly class="readonly" /></div>
                <div class="text_info clearfix"><span>OS 账号：</span></div>
                <div class="input_info"><input type="text" value="${ser.osUsername}" readonly class="readonly" /></div>
                <div class="text_info clearfix"><span>状态：</span></div>
                <div class="input_info">
                    <s:select list="statusOptions" name="ser.status" disabled="true"/>
                </div>
                <s:if test="ser.status==0"><s:set var="showDate" value="ser.createDate"/></s:if>
                <s:elseif test="ser.status==1"><s:set var="showDate" value="ser.pauseDate"/></s:elseif>
                <s:else><s:set var="showDate" value="ser.closeDate"/></s:else>
                <div class="text_info clearfix"><span>${statusOptions[ser.status] }时间：</span></div>
                <div class="input_info"><input value="${showDate}" readonly class="readonly" /></div>
                <div class="text_info clearfix"><span>资费 ID：</span></div>
                <div class="input_info"><input value="${ser.cost.id}" class="readonly" readonly /></div>
                <div class="text_info clearfix"><span>资费名称：</span></div>
                <div class="input_info"><input value="${ser.cost.name}" readonly class="width200 readonly" /></div>
                <div class="text_info clearfix"><span>资费说明：</span></div>
                <div class="input_info_high">
                    <textarea class="width300 height70 readonly" readonly>${ser.cost.descr}</textarea>
                </div>  
                <!--操作按钮-->
                <div class="button_info clearfix">
                    <input type="button" value="返回" class="btn_save" onclick="location.href='list';" />
                </div>
            </s:form>
        </div>
        
        <%@include file="../common/bottom.jsp"%>
    </body>
</html>
